import { Button } from 'antd'
import { useNavigate } from 'react-router-dom'

const NotFound = () => {
  const navigate = useNavigate();



  return (
    <>
      <h1>哎呀，你迷路了！</h1>
      <Button onClick={()=>navigate("/")}>回去吧</Button>
    </>
  )
}

export default NotFound
